#!/bin/bash
yum install -y wget 
wget -c http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
tar zxvf apache-maven-3.6.1-bin.tar.gz
mv apache-maven-3.6.1 /usr/local/maven
ln -s /usr/local/maven/bin/mvn /usr/bin/